package com.retail.lottery.colalottery.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 客户授权小程序协议签署表
 * @TableName customer_agreement_info
 */
@TableName(value ="customer_agreement_info")
@Data
public class CustomerAgreementInfo {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 客户openid
     */
    private String openId;

    /**
     * 业务单元code
     */
    private String buCode;

    /**
     * 活动code
     */
    private String setupId;

    /**
     * 全渠道会员id
     */
    private String oneid;

    /**
     * 协议状态：0:未登陆；1:已同意；2:已注销
     */
    private Integer agreementStatus;

    /**
     * 协议版本号
     */
    private String agreementVersion;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 0正常,1删除 
     */
    private Integer isDel;

    /**
     * unionId
     */
    private String unionId;
}